package com.explorx.sns.puma.im.core.dal.dao;

import com.explorx.sns.puma.im.core.dal.entity.ConversationEntity;
import com.explorx.sns.puma.im.core.dal.entity.ConversationEntityExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ConversationEntityMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("cid") Long cid);

    int insert(ConversationEntity record);

    int insertSelective(ConversationEntity record);

    List<ConversationEntity> selectByExample(ConversationEntityExample example);

    ConversationEntity selectByPrimaryKey(@Param("id") Long id, @Param("cid") Long cid);

    int updateByExampleSelective(@Param("record") ConversationEntity record, @Param("example") ConversationEntityExample example);

    int updateByExample(@Param("record") ConversationEntity record, @Param("example") ConversationEntityExample example);

    int updateByPrimaryKeySelective(ConversationEntity record);

    int updateByPrimaryKey(ConversationEntity record);
}